package com.nashuju.web.entity.sw;

import java.util.Date;

import org.durcframework.core.expression.annotation.ValueField;
import org.durcframework.core.support.SearchEasyUI;
import org.durcframework.core.util.DateUtil;


public class SReimburseSch extends SearchEasyUI{

    //根据时间进行搜索的部分
    private Date createdStartSch;
    private Date createdEndSch;

    @ValueField(column = "createdTime", equal = ">=")
    public Date getCreatedStartSch() {
        return createdStartSch;
    }

    public void setCreatedStartSch(Date createdStartSch) {
        this.createdStartSch = createdStartSch;
    }

    @ValueField(column = "createdTime", equal = "<")
    public Date getCreatedEndSch() {
        if (createdEndSch != null) {
            return DateUtil.getDateAfterDay(createdEndSch, 1);
        }
        return createdEndSch;
    }

    public void setCreatedEndSch(Date createdEndSch) {
        this.createdEndSch = createdEndSch;
    }


    private Integer idSch;
    private Date reimburseTimeSch;
    private String feeNameSch;
    private String abstractInfoSch;
    private String amountSch;
    private String ticketNumberSch;
    private String carNumberSch;
    private String kilometreSch;
    private Date editedTimeSch;
    private Date createdTimeSch;
    private String uuidSch;
    private Integer taskIdSch;
    private Integer constractIdSch;
    private String nameSch;
    private Integer statusSch;
    private Integer applyIdSch;
    private Integer varifyIdSch;
    private String typeSch;
    private Date departTimeSch;
    private Date arriveTimeSch;
    private String beginKilometreSch;
    private String endKilometreSch;

    public void setIdSch(Integer idSch){
        this.idSch = idSch;
    }
    
    @ValueField(column = "id")
    public Integer getIdSch(){
        return this.idSch;
    }

    public void setReimburseTimeSch(Date reimburseTimeSch){
        this.reimburseTimeSch = reimburseTimeSch;
    }
    
    @ValueField(column = "reimburse_time")
    public Date getReimburseTimeSch(){
        return this.reimburseTimeSch;
    }

    public void setFeeNameSch(String feeNameSch){
        this.feeNameSch = feeNameSch;
    }
    
    @ValueField(column = "fee_name")
    public String getFeeNameSch(){
        return this.feeNameSch;
    }

    public void setAbstractInfoSch(String abstractInfoSch){
        this.abstractInfoSch = abstractInfoSch;
    }
    
    @ValueField(column = "abstract_info")
    public String getAbstractInfoSch(){
        return this.abstractInfoSch;
    }

    public void setAmountSch(String amountSch){
        this.amountSch = amountSch;
    }
    
    @ValueField(column = "amount")
    public String getAmountSch(){
        return this.amountSch;
    }

    public void setTicketNumberSch(String ticketNumberSch){
        this.ticketNumberSch = ticketNumberSch;
    }
    
    @ValueField(column = "ticket_number")
    public String getTicketNumberSch(){
        return this.ticketNumberSch;
    }

    public void setCarNumberSch(String carNumberSch){
        this.carNumberSch = carNumberSch;
    }
    
    @ValueField(column = "car_number")
    public String getCarNumberSch(){
        return this.carNumberSch;
    }

    public void setKilometreSch(String kilometreSch){
        this.kilometreSch = kilometreSch;
    }
    
    @ValueField(column = "kilometre")
    public String getKilometreSch(){
        return this.kilometreSch;
    }

    public void setEditedTimeSch(Date editedTimeSch){
        this.editedTimeSch = editedTimeSch;
    }
    
    @ValueField(column = "edited_time")
    public Date getEditedTimeSch(){
        return this.editedTimeSch;
    }

    public void setCreatedTimeSch(Date createdTimeSch){
        this.createdTimeSch = createdTimeSch;
    }
    
    @ValueField(column = "created_time")
    public Date getCreatedTimeSch(){
        return this.createdTimeSch;
    }

    public void setUuidSch(String uuidSch){
        this.uuidSch = uuidSch;
    }
    
    @ValueField(column = "uuid")
    public String getUuidSch(){
        return this.uuidSch;
    }

    public void setTaskIdSch(Integer taskIdSch){
        this.taskIdSch = taskIdSch;
    }
    
    @ValueField(column = "task_id")
    public Integer getTaskIdSch(){
        return this.taskIdSch;
    }

    public void setConstractIdSch(Integer constractIdSch){
        this.constractIdSch = constractIdSch;
    }
    
    @ValueField(column = "constract_id")
    public Integer getConstractIdSch(){
        return this.constractIdSch;
    }

    public void setNameSch(String nameSch){
        this.nameSch = nameSch;
    }
    
    @ValueField(column = "name")
    public String getNameSch(){
        return this.nameSch;
    }

    public void setStatusSch(Integer statusSch){
        this.statusSch = statusSch;
    }
    
    @ValueField(column = "status")
    public Integer getStatusSch(){
        return this.statusSch;
    }

    public void setApplyIdSch(Integer applyIdSch){
        this.applyIdSch = applyIdSch;
    }
    
    @ValueField(column = "apply_id")
    public Integer getApplyIdSch(){
        return this.applyIdSch;
    }

    public void setVarifyIdSch(Integer varifyIdSch){
        this.varifyIdSch = varifyIdSch;
    }
    
    @ValueField(column = "varify_id")
    public Integer getVarifyIdSch(){
        return this.varifyIdSch;
    }

    public void setTypeSch(String typeSch){
        this.typeSch = typeSch;
    }
    
    @ValueField(column = "type")
    public String getTypeSch(){
        return this.typeSch;
    }

    public void setDepartTimeSch(Date departTimeSch){
        this.departTimeSch = departTimeSch;
    }
    
    @ValueField(column = "depart_time")
    public Date getDepartTimeSch(){
        return this.departTimeSch;
    }

    public void setArriveTimeSch(Date arriveTimeSch){
        this.arriveTimeSch = arriveTimeSch;
    }
    
    @ValueField(column = "arrive_time")
    public Date getArriveTimeSch(){
        return this.arriveTimeSch;
    }

    public void setBeginKilometreSch(String beginKilometreSch){
        this.beginKilometreSch = beginKilometreSch;
    }
    
    @ValueField(column = "begin_kilometre")
    public String getBeginKilometreSch(){
        return this.beginKilometreSch;
    }

    public void setEndKilometreSch(String endKilometreSch){
        this.endKilometreSch = endKilometreSch;
    }
    
    @ValueField(column = "end_kilometre")
    public String getEndKilometreSch(){
        return this.endKilometreSch;
    }


}